import { axios } from '@/utils/request'

/**
 * 查询三方应用
 *
 * @author cy
 * @date 2022-07-28 20:01:26
 */
export function biApplicationPage (parameter) {
  return axios({
    url: '/biApplication/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 三方应用列表
 *
 * @author cy
 * @date 2022-07-28 20:01:26
 */
export function biApplicationList (parameter) {
  return axios({
    url: '/biApplication/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加三方应用
 *
 * @author cy
 * @date 2022-07-28 20:01:26
 */
export function biApplicationAdd (parameter) {
  return axios({
    url: '/biApplication/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑三方应用
 *
 * @author cy
 * @date 2022-07-28 20:01:26
 */
export function biApplicationEdit (parameter) {
  return axios({
    url: '/biApplication/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除三方应用
 *
 * @author cy
 * @date 2022-07-28 20:01:26
 */
export function biApplicationDelete (parameter) {
  return axios({
    url: '/biApplication/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出三方应用
 *
 * @author cy
 * @date 2022-07-28 20:01:26
 */
export function biApplicationExport (parameter) {
  return axios({
    url: '/biApplication/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
